﻿#editor {
  position: relative;
  width: 100%;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  canvas {
    display: block;
  }
  #itempannel {
    height: 100%;
    position: absolute;
    left: 0;
    z-index: 2;
    background: $theme_workflow_detail_bg_color;
    border-right: 1px solid #e6e9ed;
    padding-top: 42px;
    width: 40px;
    ul {
      width: 100%;
      li {
        margin-top: 10px;
        color: #333;
        width: 40px;
        height: 38px;
        line-height: 40px;
        text-align: center;
        border: 1px solid rgba(0, 0, 0, 0);
        i{
          font-size: 24px;
        }
        &:hover{
          background: white;
          border: 1px solid #ced4d9;
          cursor: move;
        }
      }
    }
  }
  // 右边展示详细的位置
  #detailpannel {
    height: 100%;
    position: absolute;
    right: 0px;
    top: 42px;
    z-index: 2;
    background: $theme_workflow_detail_bg_color;
    width: 300px;
    border-left: 1px solid #e6e9ed;
    // 标题部分
    .pannel-title {
      height: 32px;
      border-top: 1px solid #dce3e8;
      border-bottom: 1px solid #dce3e8;
      background: $theme_workflow_title_bg_color;
      color: #000;
      line-height: 28px;
      padding-left: 12px;
    }
    .pannel {
      display: none;
      .block-container {
        padding: 16px 8px 0 8px;
        text-align: left;
        .el-form-item__label{
          padding: 0;
        }
      }
    }
  }
  #page {
    margin-left: 40px;
    margin-right: 300px;
    padding-top: 42px;
  }
  .historydata {
    text-align: center;
    margin-top: 260px;
    span{
      display: inline-block;
      // margin-top: 32px;
    }
    input {
      width: 100%;
    }
  }
  .left_set {
    text-align: center;
    height: 50px;
    line-height: 50px;
  }
  .currentName {
    float: right;
    display: block;
    line-height: 42px;
    font-size: 16px;
    width: 300px;
    height: 42px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .el-collapse-item:last-child {
    display: block !important;
    padding-bottom:0 !important;
  }
  .myCollapse .el-collapse-item__content {
    padding-bottom:0 !important;
  }
}
// 工具栏部分
#toolbar {
  padding: 5px 0px 5px 42px;
  width: 100%;
  border: 1px solid #e9e9e9;
  height: 42px;
  line-height: 30px;
  z-index: 3;
  position: absolute;
  text-align: left;
  // 左侧的返回按钮
  .workflow_return{
    position: absolute;
    left: 0;
    top: 0;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    width: 40px;
    &>i{
      font-size: 24px;
      vertical-align: -3px;
    }
  }
  .workflow_return:hover{
    color: $theme_main_color
  }
  &>i{
    font-size: 20px;
  }
  .disable {
     color: rgba(0, 0, 0, 0.25);
  }
  .icon-select.disable {
    background: #eeeeee;
  }
  .separator {
    border-left: 1px solid $theme_border_color;
  }
  .command{
    padding: 0 10px 0 12px;
  }
  .command:hover {
    cursor: pointer;
    color: $theme_main_color;
  }
  .disable:hover {
    cursor: not-allowed;
    color: rgba(0, 0, 0, 0.25);
  }
  .my_radioGroup{
     vertical-align: 5px;
    margin: 0 10px 0 10px;
  }
}